
/** 게시판>게시판 를 호출되어지는 데이터 처리 로직을 위한 Service Interface를 상속받는 Class                                
* @FileName  : BoardServiceImpl.java 0.1 2014년09월12일(14:05:50)       
* @Project     : nComz n-eip 프로젝트   
* @Date         : 2014년09월12일(14:05:50)          
* @작성자      : 신용천(nComz)           	  
* @변경이력 :                         
* @프로그램 설명 :게시판>게시판(ServiceImpl)    
* Copyright 2012 (주)nComz Cop. All rights Reserved.                  
*/ 

package com.sunny.hp.bd.service; 

import java.util.LinkedHashMap; 
import java.util.List; 
import org.springframework.beans.factory.annotation.Autowired; 
import org.springframework.stereotype.Service; 
import org.apache.commons.logging.Log; 
import org.apache.commons.logging.LogFactory; 
import com.sunny.hp.bd.dao.BoardDao;

/** 게시판>게시판 를 호출되어지는 데이터 처리 로직을 위한 Service Interface를 상속받는 Class                               
* @ClassName  : BoardServiceImpl       
* @Date         : 2014년09월12일(14:05:50)         
* @작성자      : 신용천(nComz)           	 
* @변경이력 :                        
* @프로그램 설명 :게시판>게시판(ServiceImpl)                     
*/      

@Service
public class BoardServiceImpl implements BoardService{

	@Autowired
	private BoardDao boardDao; 
	protected final Log logger = LogFactory.getLog(getClass());
	public List<LinkedHashMap> selectBoardContentList(LinkedHashMap param) throws Exception{
	List<LinkedHashMap> returnList = boardDao.selectBoardContentList(param);
	return returnList;
	}
	@Override
	public List<LinkedHashMap> selectBoardNewContentList(LinkedHashMap param) throws Exception{
	List<LinkedHashMap> returnList = boardDao.selectBoardNewContentList(param);
	return returnList;
	}
	@Override
	public LinkedHashMap selectBoardContentInfo(LinkedHashMap param) throws Exception{
	LinkedHashMap returnMap = boardDao.selectBoardContentInfo(param);
	return returnMap;
	}
	@Override
	public int insertBoardContentInfo(LinkedHashMap param) throws Exception{
	int returnInt = boardDao.insertBoardContentInfo(param);
	return returnInt;
	}
	@Override
	public int selectBoardContentKey(LinkedHashMap param) throws Exception{
	int returnInt = boardDao.selectBoardContentKey(param);
	return returnInt;
	}
	@Override
	public int updateBoardContentInfo(LinkedHashMap param) throws Exception{
	int returnInt = boardDao.updateBoardContentInfo(param);
	return returnInt;
	}
	@Override
	public int deleteBoardContentInfo(LinkedHashMap param) throws Exception{
	int returnInt = boardDao.deleteBoardContentInfo(param);
	return returnInt;
	}
	@Override
	public List<LinkedHashMap> selectBoardCommentInfoList(LinkedHashMap param) throws Exception{
	List<LinkedHashMap> returnList = boardDao.selectBoardCommentInfoList(param);
	return returnList;
	}
	@Override
	public LinkedHashMap selectBoardCommentInfo(LinkedHashMap param) throws Exception{
	LinkedHashMap returnMap = boardDao.selectBoardCommentInfo(param);
	return returnMap;
	}
	@Override
	public int insertBoardCommentInfo(LinkedHashMap param) throws Exception{
	int returnInt = boardDao.insertBoardCommentInfo(param);
	return returnInt;
	}
	@Override
	public int selectBoardCommentKey(LinkedHashMap param) throws Exception{
	int returnInt = boardDao.selectBoardCommentKey(param);
	return returnInt;
	}
	@Override
	public int updateBoardCommentInfo(LinkedHashMap param) throws Exception{
	int returnInt = boardDao.updateBoardCommentInfo(param);
	return returnInt;
	}
	@Override
	public int deleteBoardCommentInfo(LinkedHashMap param) throws Exception{
	int returnInt = boardDao.deleteBoardCommentInfo(param);
	return returnInt;
	}
	
	
	@Override
	public int updateCommentContentKey(LinkedHashMap param) throws Exception{
		int returnInt = boardDao.updateCommentContentKey(param);
		return returnInt;
	}
	
	@Override
	public int updateBoardReadCount(LinkedHashMap param) throws Exception{
		int returnInt = boardDao.updateBoardReadCount(param);
		return returnInt;
	}
	
	@Override
	public int updateBoardContentKey(LinkedHashMap param) throws Exception{
		int returnInt = boardDao.updateBoardContentKey(param);
		return returnInt;
	}
	
	

}
